﻿namespace _051_Generics;

/// <summary>
/// 泛型类
/// </summary>
/// <typeparam name="T"></typeparam>
public class Box<T>
{
    private T _value;

    public void SetValue(T value)
    {
        _value = value;
    }

    public T GetValue()
    {
        return _value;
    }
}